[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 getcbrk()               Get Control-Break Setting

 #include   <dos.h>

 int        getcbrk(void);

    getcbrk() returns the current status of control-break checking by
    using the MS-DOS system call 0x33.

       Returns:     0, if control-break checking is 'off'; 1, if control-
                    break checking is on.

   Portability:     MS-DOS only.

   -------------------------------- Example ---------------------------------
    The following statements check to see if control-break is being
    checked for by the system.

           #include <stdio.h>   /* for printf */
           #include <dos.h>     /* for getcbrk */

           main()
           {
               if (getcbrk() == 1)
                   printf("control-break checking is on\n");
               else
                   printf("control-break checking is off\n");
           }


See Also: setcbrk()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson